/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Server.gui;

import Server.domain.ServerDomainController;
import javax.swing.JPanel;

/**
 *
 * @author Ripper
 */
public class ServerPanel extends JPanel
{
    private ServerWindow parent;
    
    public ServerPanel(ServerWindow cw)
    {
        parent = cw;
    }
    
    public ServerWindow getServerWindow()
    {
        return parent;
    }
    public ServerDomainController getServerDomainController()
    {
        return getServerWindow().getServerDomainController();
    }
}
